package com.zhaopin.extend.child;

import com.zhaopin.extend.Father;

/**
 * @author yin.peide
 * @date 2021-09-26 17:41
 */
public class Child extends Father {

    void test3(){
        test1();
        /**
         * 此处会抛异常，访问不到
        test2();
         */
    }

    public static void main(String[] args) {
        Child child = new Child();
        child.test3();


    }
}
